package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.FlightOrder;
import cn.wolfcode.luowowo.common.util.AjaxResult;

import java.util.List;

/**
 * 航班订单
 * @author 懿
 * fid 航班 id
 * depTime : 出行日期
 * uid : 用户id
 */
public interface IFlightOrderService {
    AjaxResult saveOrder(Long fid, String depTime, Long uid);

    /**
     * 懿
     * @param uid 用户id
     * @return 订单list
     */
    List<FlightOrder> selectOrderByUid(Long uid);

    List<FlightOrder> selectOrderByOld(Long id);

    List<FlightOrder> selectOrderByQu(Long id);


}